package com.sc.nft.admin.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class UpdateUserCreatorRequest {
    @ApiModelProperty("作者id")
    @NotNull(message = "作者id不能为空")
    private Long id;
    @ApiModelProperty("作者昵称")
    @NotBlank(message = "作者昵称不能为空")
    private String nickName;
    @ApiModelProperty("作者简介")
    @NotBlank(message = "作者简介不能为空")
    private String creatorPresentation;
    @ApiModelProperty("作者头像")
    @NotBlank(message = "作者头像不能为空")
    private String creatorAvatarImg;

}
